package multiThreadTest.SellTicket;


public class TestExample {
    public static void main(String[] args) {
        SellTicket sellTicket1=new SellTicket();
        SellTicket sellTicket2=new SellTicket();
        SellTicket sellTicket3=new SellTicket();
        SellTicket sellTicket4=new SellTicket();
        Thread seller1=new Thread(sellTicket1,"1");
        Thread seller2=new Thread(sellTicket1,"2");
        Thread seller3=new Thread(sellTicket1,"3");
        Thread seller4=new Thread(sellTicket1,"4");
        seller1.start();
        seller2.start();
        seller3.start();
        seller4.start();
    }
}
